package com.wyw.design.model.learning.behavioral.status;

/**
 * @Title
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/4/19 9:47
 * Update History:
 * Author        Time            Content
 */
public class Client {
    public static void main(String[] args) {
        Ctx context = new Ctx(); // 新建一个上下文
        context.setCurrentState(new ConcreteState1()); // 设置当前状态
        context.request1(); // 调用request动作
        context.request2();
    }
}
